ifeq ($(CONFIG_USBX), y)

dir-y += pony

inc-g-y += \
	common/core/inc \
	common/usbx_device_classes/inc \
	common/usbx_stm32_device_controllers \
	ports/generic/inc

src-y += \
	common/core/src/*.c \
	common/usbx_device_classes/src/*.c \
	common/usbx_stm32_device_controllers/*.c

cflags-g-y += -DUX_INCLUDE_USER_DEFINE_FILE

endif
